//
//  LTQTextView.swift
//  WeiBoProject
//
//  Created by MAC on 16/3/6.
//  Copyright © 2016年 LTQ. All rights reserved.
//

import UIKit

class LTQTextView: UITextView {
//  注意类型-- NSString
    var holderString: NSString?
    
//    把文字画上去
    override func drawRect(rect: CGRect) {
        
        //一定要注意,textView必须得有 font
        holderString?.drawAtPoint(CGPointMake(2, 8), withAttributes: [NSFontAttributeName:UIFont.systemFontOfSize(17),NSForegroundColorAttributeName:UIColor.grayColor()])
        
    }
    
    

}
